package cn.b.sky.common.constants;

public final class SystemConstant {

  public static final String IME_BASEURL = "/manage";

  /**
   * 状态 --启用, true
   */
  public static final int COMMON_STATUS_ON = 1;

  /**
   * 状态 --停用，false
   */
  public static final int COMMON_STATUS_OFF = 0;

  /**
   * 排序字段
   */
  public static final String ORDER_FIELD = "id";

  /**
   * 默认排序规则
   */
  public static final String ORDER_DESC = "desc";

  /**
   * 服务类和方法名间隔
   */
  public static final String SERVICECODE_SPLIT = ".";

  /**
   * 以下划线为分隔符的
   */
  public static final String SPLIT = "_";

  /**
   * 以横线为分隔符的，系统中编码可以使用下划线
   */
  public static final String MIDDLE_SPLIT = "@_@";

  /**
   * 页面国际化标签key值的分隔符
   */
  public static final String LABLE_SPLIT = ",";

  /**
   * 200返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_OK_MESSAGE = "successfulOperation.M";

  /**
   * 参数异常,为空
   */
  public static final String PARAMETERNULL = "parameterNull.M";

  /**
   * 无有效数据
   */
  public static final String DATA_DOESNOT_EXIST = "data_doesnot_exist.M";

  /**
   * 300返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_ERROR_MESSAGE = "failedOp.M,connectAdmin.M";

  /**
   * 数据库操作异常
   */
  public static final String DATABASE_OPERATION_FAIL = "dataBaseOperationFail.M,connectAdmin.M";

  /**
   * 数据库操作异常，删除时外键已使用异常
   */
  public static final String DATABASE_OPERATION_FK = "dataBaseOperationPkFail.M,notDelete.M";

  /**
   * 301返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_TIMEOUT_MESSAGE = "sessionTimeOut.M";

  /**
   * 中文代码
   */
  public static final String LANGUAGE_CODE_ZH = "zh";

  /**
   * 用户名称连接符
   */
  public static final String USER_NAME_LINK = "@";

  /**
   * 组织名称连接符
   */
  public static final String USER_ORG = "ORG:";

  /**
   * 角色名称连接符
   */
  public static final String USER_ROLE = "ROLE:";

  /**
   * 流程图片文件上传路径
   */
  public static final String FILE_PATH_BASE = "activit/";

  private SystemConstant() {
  }
}
